import _fetch from '@/api/request.js'

function getLoginApi(data) {
    return _fetch({
        url: "/login",
        method: "post",
        withCredentials: true,
        data: data,
    })
}

export default getLoginApi;